<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>编辑图片</title>
    <link rel="stylesheet" type="text/css" href="<?php echo assets('css/form.css') ?>">
</head>
<body>
<div id="wrapper">
    <form method="post" action="<?php echo url('image/update') ?>">
        <input type="hidden" name="g" value="<?php echo $_GET['g'] ?>">
        <input type="hidden" name="m" value="<?php echo $image->id ?>">
        <div class="row">
            <div class="input-box">
                <label>图片标题</label>
                <input type="text" name="title" placeholder="请输入图片标题" value="<?php echo $image->title ?>">
            </div>
        </div>
        <div class="row">
            <div class="input-box">
                <label>图片描述</label>
                <input type="text" name="description" placeholder="请输入图片描述" value="<?php echo $image->description ?>">
            </div>
        </div>
        <div class="row">
            <button class="btn-large">确定</button>
        </div>
    </form>
</div>
</div>
</body>
</html>